package com.rico.kok.service.interf;

import com.rico.kok.entity.Follow;
import com.rico.kok.entity.User;

import java.util.List;

public interface FollowService {
    //关注用户
    int followUser(int userId,int followUserId);
    //获取已经关注用户的ID
    List<Integer> selectAllFollowsId(int userId);
    //获取已关注用户信息
    List<Follow> selectAllFollows(int userId);
    //取关用户
    int unFollowUser(int userId,int unFollowId);
}
